﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommLink
{
    class CommLinkNoCommDummy : CommLinkAbstract
    {
        public override void closeConnection()
        {
        }

        public override void openConnection()
        {
        }

        public override int messageSend(byte[] OutData)
        {
            return 0;
        }

        public override event CommLinkAbstract.MessageReceived OnMessageReceived;

        public override event CommLinkAbstract.ConnectionStatusChange OnConnectionStatusChange;

        /// <summary>
        /// Returns connection type name
        /// </summary>
        /// <returns>Connection type name</returns>
        public override string getName()
        {
            return "no connection";
        }
    }
}
